package com.vf.admin.utils.saishi;


import com.vf.admin.common.Constants;
import com.vf.admin.utils.StringEx;

import java.util.List;

/**
 * 球赛dto
 */
public class QiuSaiDto {
    private String id;

    private String status;

    private String video_id;

    private String datetime;

    private String league_name;

    private String league_id;

    private String home_name;

    private String home_id;

    private String away_name;

    private String away_id;

    private String category_name;

    private String category_slug;

    private String score;

//    private Odds odds;
//
    private List<Streams> streams;
//
//    private Info info;

    private String leaguepic;//球队图片
    private String awaypic;//球队图片
    private String homepic;//球队图片



    public String getLeaguepic() {
        String leaguepicname = "";
        if (StringEx.isNotNull(league_id)){
            leaguepicname = Constants.PATH_WEBSITE+"/liaostatics/teamlogo/"+league_id+".png";
        }
        return leaguepicname;
    }

    public void setLeaguepic(String leaguepic) {
        this.leaguepic = leaguepic;
    }

    public String getAwaypic() {
        String awayname = "";
        if (StringEx.isNotNull(away_id)){
            awayname = Constants.PATH_WEBSITE+"/liaostatics/teamlogo/"+away_id+".png";
        }
        return awayname;
    }

    public void setAwaypic(String awaypic) {
        this.awaypic = awaypic;
    }

    public String getHomepic() {
        String homepicname = "";
        if (StringEx.isNotNull(home_id)){
            homepicname = Constants.PATH_WEBSITE+"/liaostatics/teamlogo/"+home_id+".png";
        }
        return homepicname;
    }

    public void setHomepic(String homepic) {
        this.homepic = homepic;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getVideo_id() {
        return video_id;
    }

    public void setVideo_id(String video_id) {
        this.video_id = video_id;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getLeague_name() {
        return league_name;
    }

    public void setLeague_name(String league_name) {
        this.league_name = league_name;
    }

    public String getLeague_id() {
        return league_id;
    }

    public void setLeague_id(String league_id) {
        this.league_id = league_id;
    }

    public String getHome_name() {
        return home_name;
    }

    public void setHome_name(String home_name) {
        this.home_name = home_name;
    }

    public String getHome_id() {
        return home_id;
    }

    public void setHome_id(String home_id) {
        this.home_id = home_id;
    }

    public String getAway_name() {
        return away_name;
    }

    public void setAway_name(String away_name) {
        this.away_name = away_name;
    }

    public String getAway_id() {
        return away_id;
    }

    public void setAway_id(String away_id) {
        this.away_id = away_id;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public String getCategory_slug() {
        return category_slug;
    }

    public void setCategory_slug(String category_slug) {
        this.category_slug = category_slug;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

//    public Odds getOdds() {
//        return odds;
//    }
//
//    public void setOdds(Odds odds) {
//        this.odds = odds;
//    }
//
    public List<Streams> getStreams() {
        return streams;
    }

    public void setStreams(List<Streams> streams) {
        this.streams = streams;
    }
//
//    public Info getInfo() {
//        return info;
//    }
//
//    public void setInfo(Info info) {
//        this.info = info;
//    }
}
